<?php 
if(!$_GET)
	exit;
    
if($_GET['module'] == '' || $_GET['call'] == ''){
	die('Invalid call options.');
}

// loads starting file
include('_start.php');

// try to login
if($_GET['username'] != '' && $_GET['password'] != '')
{
    \Cyfy\Modules\User :: load($_GET);
}


$output = \Cyfy\Call :: process($_GET['module'], $_GET['call']);

// prints output
print $output;


// the end
include('_end.php');


